import request from '../../utils/request'

const PAGE_SIZE = 3

export function fetch ({ page = 1 }) {
  return request(`/api/photos?_page=${page}&_limit=${PAGE_SIZE}`)
}
